/*
 * 集合接口
 * */
export default (vm) => {
	return {
		//获取首页信息
		getHomeData: (params = {}) => {
			return vm.$u.get('dataCollection/getHomeData', params)
		},
		//获取货物详情
		getGoodsDetail: (params = {}) => {
			return vm.$u.get("dataCollection/getGoodsDetail", params)
		},
		//获取1688货物详情
		getGoodsDetail1688: (params = {}) => {
			return vm.$u.post("demo/detail1688", params)
		},
		//获取货物列表
		getGoodsList: (params = {}) => {
			return vm.$u.get("dataCollection/getGoodsList", params)
		},
		//获取1688货物列表
		getGoodsList1688: (params = {}) => {
			return vm.$u.post("/demo/search1688", params)
		},
		//获取运输列表
		getTransportList: (params = {}) => {
			return vm.$u.get("dataCollection/getTransportList", params)
		},
		//获取运输详情
		getTransportDetailDetail: (params = {}) => {
			return vm.$u.get("dataCollection/getTransportDetail", params)
		},
		//获取跨境货代列表
		getCrossborderList: (params = {}) => {
			return vm.$u.get("dataCollection/getCrossborderList", params)
		},
		//获取跨境货代详情
		getCrossborderListDetail: (params = {}) => {
			return vm.$u.get("dataCollection/getCrossborderDetail", params)
		},
		//获取专业代办列表
		getProfessionalList: (params = {}) => {
			return vm.$u.get("dataCollection/getProfessionalList", params)
		},
		//获取专业代办详情
		getProfessionalListDetail: (params = {}) => {
			return vm.$u.get("dataCollection/getProfessionalDetail", params)
		},
		//获取生活广告列表
		getLifeadList: (params = {}) => {
			return vm.$u.get("dataCollection/getLifeadList", params)
		},
		//获取生活广告详情
		getLifeadListDetail: (params = {}) => {
			return vm.$u.get("dataCollection/getLifeadDetail", params)
		},
		//获取曝光台列表
		getExposureList: (params = {}) => {
			return vm.$u.get("dataCollection/getExposureList", params)
		},
		//获取曝光台详情
		getExposureListDetail: (params = {}) => {
			return vm.$u.get("dataCollection/getExposureDetail", params)
		},
		//获取中俄新闻列表
		getNewsList: (params = {}) => {
			return vm.$u.get("dataCollection/getNewsList", params)
		},
		//获取中俄新闻详情
		getNewsListDetail: (params = {}) => {
			return vm.$u.get("dataCollection/getNewsDetail", params)
		},
		//获取资源库列表
		getLibraryList: (params = {}) => {
			params.needLogin = true // 需要登录
			return vm.$u.get("resource/list", params)
		},
		//获取资源库详情
		getLibraryDetail: (params = {}) => {
			params.needLogin = true // 需要登录
			return vm.$u.get("resource/detail", params)
		},
		//获取关注列表
		getGuanZhuList: (params = {}) => {
			return vm.$u.get("dataCollection/getGuanZhuList", params)
		},
	}
}